layui.use(['rate'],function () {
    var rate = layui.rate;
    //只读
    rate.render({
        elem: '.test9'
        ,value: 4.5
        ,readonly: true
        ,half: true
        ,theme: '#ff6633'
    });
});
